package com.hycat.mail.order.client;

import com.hycat.mail.common.utils.R;
import com.hycat.mail.order.vo.CartVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 吕泽浩业
 * @version 1.0
 */
@FeignClient(value = "mail-cart", path = "/cart")
public interface CartClient {
    @GetMapping("listOrderCart")
    CartVo listOrderCart(@PathVariable("memberId") Long memberId);
}
